package com.flash.BusinessParameters.entity;
// --现金账号ID
//    cashId	varchar(50)	NOT NULL primary key,	--主键	C20220622001
//    --银行卡号
//    bankId	varchar(100)	NOT NULL,		--谁便填个银行卡号
//    --账户名称
//    accountName	varchar(100)	NOT NULL,		--最好跟基金名称相同
//    --银行名称
//    bankName	varchar(20)	NOT NULL,
//    --存储类型
//    stockpileType	int	not null,		--1是活期，2是定期
//    --卡号利率
//    cardRetes	number(4,2)	NOT NULL,
//    --计息期间
//    bearingTime	int	not null,		--1是365，2是366
//    --开户时间
//    openTime	varchar(20)	NOT NULL,		--看着设
//    --结束时间
//    endTime	varchar(20)	NOT NULL,		--看着设
//    --备注
//    cashRemark	varchar(100)

public class Cash {
    public String cashId;//现金账号Id
    public String bankId;//银行卡号
    public String accountName;//账户名称
    public String bankName;//银行名称
    public int stockpileType;//存储类型
    public double cardRetes;//卡号利率
    public int bearingTime;//计息时间
    public String openTime;//开户时间
    public String endTime;//结束时间
    public String cashRemark;//备注

    public String stockpileTypes;
    public String bearingTimes;
    public Cash() {
    }

    public Cash(String cashId, String bankId, String accountName, String bankName, int stockpileType, double cardRetes, int bearingTime, String openTime, String endTime, String cashRemark) {
        this.cashId = cashId;
        this.bankId = bankId;
        this.accountName = accountName;
        this.bankName = bankName;
        this.stockpileType = stockpileType;
        this.cardRetes = cardRetes;
        this.bearingTime = bearingTime;
        this.openTime = openTime;
        this.endTime = endTime;
        this.cashRemark = cashRemark;
    }

    public Cash(String cashId, String bankId, String accountName, String bankName, double cardRetes, String openTime, String endTime, String cashRemark, String stockpileTypes, String bearingTimes) {
        this.cashId = cashId;
        this.bankId = bankId;
        this.accountName = accountName;
        this.bankName = bankName;
        this.cardRetes = cardRetes;
        this.openTime = openTime;
        this.endTime = endTime;
        this.cashRemark = cashRemark;
        this.stockpileTypes = stockpileTypes;
        this.bearingTimes = bearingTimes;
    }

    public Cash(String cashId, String bankId, String accountName, String bankName, int stockpileType, double cardRetes, int bearingTime, String openTime, String endTime, String cashRemark, String stockpileTypes, String bearingTimes) {
        this.cashId = cashId;
        this.bankId = bankId;
        this.accountName = accountName;
        this.bankName = bankName;
        this.stockpileType = stockpileType;
        this.cardRetes = cardRetes;
        this.bearingTime = bearingTime;
        this.openTime = openTime;
        this.endTime = endTime;
        this.cashRemark = cashRemark;
        this.stockpileTypes = stockpileTypes;
        this.bearingTimes = bearingTimes;
    }

    @Override
    public String toString() {
        return "Cash{" +
                "cashId='" + cashId + '\'' +
                ", bankId='" + bankId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", bankName='" + bankName + '\'' +
                ", stockpileType=" + stockpileType +
                ", cardRetes=" + cardRetes +
                ", bearingTime=" + bearingTime +
                ", openTime='" + openTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", cashRemark='" + cashRemark + '\'' +
                '}';
    }

    public String getStockpileTypes() {
        return stockpileTypes;
    }

    public void setStockpileTypes(String stockpileTypes) {
        this.stockpileTypes = stockpileTypes;
    }

    public String getBearingTimes() {
        return bearingTimes;
    }

    public void setBearingTimes(String bearingTimes) {
        this.bearingTimes = bearingTimes;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public int getStockpileType() {
        return stockpileType;
    }

    public void setStockpileType(int stockpileType) {
        this.stockpileType = stockpileType;
    }

    public double getCardRetes() {
        return cardRetes;
    }

    public void setCardRetes(double cardRetes) {
        this.cardRetes = cardRetes;
    }

    public int getBearingTime() {
        return bearingTime;
    }

    public void setBearingTime(int bearingTime) {
        this.bearingTime = bearingTime;
    }

    public String getOpenTime() {
        return openTime;
    }

    public void setOpenTime(String openTime) {
        this.openTime = openTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCashRemark() {
        return cashRemark;
    }

    public void setCashRemark(String cashRemark) {
        this.cashRemark = cashRemark;
    }

}
